package com.iwunu.gateway.vo;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * @author kinfeng
 * @date 2019-04-21 10:55
 * @desc
 */
public class TokenVo implements Serializable {
    private String token ;
    private Integer expires;

    public TokenVo() {
    }

    public TokenVo(String token) {
        this.token = token;
        this.expires=172800;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getExpires() {
        return expires;
    }

    public void setExpires(Integer expires) {
        this.expires = expires;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
